package cn.itrip.dao;

import cn.itrip.pojo.ItripHotelFeature;
import cn.itrip.pojo.ItripLabelDic;

import java.util.List;
import java.util.Map;

public interface ItripLabelDicMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ItripLabelDic record);

    int insertSelective(ItripLabelDic record);

    ItripLabelDic selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ItripLabelDic record);

    int updateByPrimaryKey(ItripLabelDic record);

    public List<ItripLabelDic> selectHotelFeatureByCondition(Map condition);

    /**
     * 根据父类标签查询
     * @param parentId
     * @return
     */
    List<ItripLabelDic> getHotelRoomBedByParentId(Long parentId);
}